import {http} from '@zkwq/business'

export const ListResource = (params) => http.post('/yundianApi/web/resource/list',params);
export const GetResourceDetail = (id) => http.get('/yundianApi/web/resource/get/detail',{id:id});
export const GetResourceAgg = (type,magazine, query, speaker, organizer, category, tag, author) => http.get('/yundianApi/web/resource/getResourceAggV2',{type:type,magazine:magazine,query:query,speaker:speaker,organizer:organizer,category:category,tag:tag, author:author});  

export const DownloadMinioBase64 = (objectName) => http.post('/yundianApi/videoAudio/v1/downloadMinioBase64',{objectName:objectName});
